public class Test {
    public static void main(String[] args) {
        //掌握子类中访问其他成员的特点：就近原则

        Z z = new Z();
        z.ShowName();
        System.out.println("----------------");
        z.ShowMethod();

    }
}
